<template>
  <el-dialog v-dialogDrag :visible.sync="dialog" width="1180px" :close-on-click-modal="false" :before-close="reset">
    <span slot="title" class="dialog-title">工程调价</span>
    <div class="dialoginfo"></div>
    <span slot="footer" class="dialog-footer">
      <el-button class="bottom_all_two" @click="reset">取 消</el-button>
      <el-button class="bottom_all" @click="submit">确 定</el-button>
    </span>
  </el-dialog>
</template>
<script>
export default {
  props: {
    dialog: {
      type: Boolean,
      default: false
    }
  },
  data() {
    return {

    }
  },
  methods: {
    reset() {
      this.$emit('reset', 'dialog2')
    },
    submit() {
      this.$emit('submit', 'dialog2')
    },
  }
}
</script>

